package com.egdd.video.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Song implements Serializable {
    @ApiModelProperty(value = "儿歌id")
    private Integer id;

    @ApiModelProperty(value = "儿歌名称")
    private String name;

    @ApiModelProperty(value = "儿歌链接")
    private String audiourl;

    @ApiModelProperty(value = "儿歌作者")
    private String singer;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value = "播放次数")
    private Integer playcount;

    @ApiModelProperty(value = "发布者id")
    private Integer publisherId;

    @ApiModelProperty(value = "所属分类id")
    private Integer audiocategoryid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAudiourl() {
        return audiourl;
    }

    public void setAudiourl(String audiourl) {
        this.audiourl = audiourl;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getPlaycount() {
        return playcount;
    }

    public void setPlaycount(Integer playcount) {
        this.playcount = playcount;
    }

    public Integer getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(Integer publisherId) {
        this.publisherId = publisherId;
    }

    public Integer getAudiocategoryid() {
        return audiocategoryid;
    }

    public void setAudiocategoryid(Integer audiocategoryid) {
        this.audiocategoryid = audiocategoryid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", audiourl=").append(audiourl);
        sb.append(", singer=").append(singer);
        sb.append(", cover=").append(cover);
        sb.append(", playcount=").append(playcount);
        sb.append(", publisherId=").append(publisherId);
        sb.append(", audiocategoryid=").append(audiocategoryid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}